package com.ugoodtech.mdcc.core.model.entity;

import java.util.Date;

public class Departments {
    private Long id;

    private Date creationTime;

    private Boolean deleted;

    private Boolean enabled;

    private Date updateTime;

    private String name;

    private Long parentdepartmentid;

    private String serialnumber;

    private Long userLeaderId;

    private Long parentId;

    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getParentdepartmentid() {
        return parentdepartmentid;
    }

    public void setParentdepartmentid(Long parentdepartmentid) {
        this.parentdepartmentid = parentdepartmentid;
    }

    public String getSerialnumber() {
        return serialnumber;
    }

    public void setSerialnumber(String serialnumber) {
        this.serialnumber = serialnumber == null ? null : serialnumber.trim();
    }

    public Long getUserLeaderId() {
        return userLeaderId;
    }

    public void setUserLeaderId(Long userLeaderId) {
        this.userLeaderId = userLeaderId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}